package com.upic.service;

import com.upic.po.jurisdiction.Role;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface RoleService {
    Role saveRole(Role role);

    String deleteRole(long roleId);

    Page<Role> searchRole(Pageable pageable);

    List<Role> searchRole();

    Role findOne(long roleId);

    Role updateRole(Role role);
}
